package cn.bupt.adt.constant;

public class Constants {
    /**
     * session记录
     */
	public static final String ADMIN_USER = "user";// 用户信息session
	public static final String LAST_LOGIN_IN_IP = "lastLoginINIp";//上次登录的ip
    //分页每一页的大小
    public static final int PAGESIZE=3;
    //分页每一页的大小
    public static final int PAGESIZE_SMALL=5;
  //分页每一页的大小
    public static final int PAGESIZE_LARGE=8;
    //新文件的文件名
    public static final String NEW_FILE_NAME="src";
    
    
    public static final String PUBLIC_LOGIN = "public/login";//登陆界面
    public static final String ERROR_PAGE = "public/noPermission";//失败页面
    public static final String PUBLIC_HOME = "public/home";//首页
    public static final String BLANK_PAGE = "_blank";//空白页
    public static final String AdminUserDetail = "public/adminUserDetail";
    
    
    //医生管理
//	public static final String ADD_DOCTOR = "doctor/addDoctor";
	public static final String ADD_INSTITUTION = "institution/addInstitution";
	public static final String DOCTOR_INDEX = "doctor/index";//医生列表
	public static final String UNREVIEW_DOCTOR_INDEX = "doctor/unreviewIndex";//待审核医生列表
	public static final String REVIEWED_DOCTOR_INDEX = "doctor/reviewIndex";//已审核医生列表
	public static final String DOCTOR_MODIFY_PASSWD_INDEX = "doctor/modifypasswd";//修改医生密码页面
	public static final String OPERATION_TYPE_INDEX = "doctor/opertionTypeIndex";//手术类型
	public static final String SUB_OPERATION_TYPE = "doctor/subOpertionTypeIndex";//二级手术列表
	public static final String REVIEW_DOCTOR_DETAIL = "doctor/review";//医生详情页(审核)
	public static final String DOCTOR_DETAIL = "doctor/detail";//医生详情页(已审核，查看)
	public static final Boolean BY_NAME = true;
	public static final Boolean BY_PHONE = false;
	
	//机构管理
	public static final String INSTITUTION_INDEX = "institution/index";//机构列表
	public static final String INSTITUTION_DETAIL = "institution/detail";//机构详情
	public static final int ACCOUNT_LENGTH = 6;//机构账号长度
	public static final int PASSWD_LENGTH = 6;//机构账号长度

	//检查机构管理
	public static final String INSPECTINSTI_INDEX = "inspectInstitution/index";//机构列表
	public static final String INSPECTINSTI_DETAIL = "inspectInstitution/detail";//机构详情
	public static final Boolean USE_NAME = true;
	public static final Boolean USE_NUMBER = false;
	
	//检查机构订单管理
	public static final String INSPECTORDER_INDEX = "inspectOrder/index";//机构订单列表
	public static final String INSPECTORDER_DETAIL = "inspectOrder/detail";//机构订单详情
	public static final String INSPECTORDER_INDEXTAKED = "inspectOrder/indexTaked";//机构订单列表
	public static final String INSPECTORDER_DETAILTAKED = "inspectOrder/detailTaked";//机构订单详情
	
	public static final String ADD_INSPECTORDER = "InspectOrder/addInspectOrder";
	public static final Boolean WITH_NAME = true;
	public static final Boolean WITH_NUMBER = false;
	
	//检查项目管理
	public static final String INSPECTION_INDEX = "inspectItems/index";//机构订单列表
	public static final String INSPECTION_DETAIL = "inspectItems/detail";//机构订单详情
	public static final String ADD_INSPECTION = "inspectItems/add";
		
		
	
	//图片上传目录
	public static final String IMAGE_PATH = "upload/";//根目录
	public static final String IDEN_POS_PATH = "identification/posi/";//身份证正面目录
	public static final String IDEN_NEG_PATH = "identification/nega/";//身份证反面目录
	public static final String DEG_PATH = "degree/";//学位目录
	public static final String GRA_PATH = "graduation/";//毕业证目录
	public static final String QUA_PATH = "qualification/";//医生从业资格证书目录
	public static final String CERT_PATH = "certification/";//医生执业证书目录
	public static final String PRO_PATH = "profession/";//医生职称证书目录
	public static final String Carousel_PATH  = "carousel/";//医生职称证书目录
	/* --------------------------------------------------------------------*/
	public static final String APPEAR_PATH = "appearence/";//机构外观目录
	public static final String INSCERT_PATH = "insCertification/";//机构营业执照目录
	public static final String DEV_PATH = "devices/";//机构内部设备目录
	public static final String DOC_PORTRAIT = "portrait/doc/";//医生本人照片目录
	public static final String INS_PORTRAIT = "portrait/institution/";//机构头像照片目录
	public static final String CHECKINS_CERT = "checkInstitution/cert/";//检查机构营业执照照片目录
	public static final String CHECKINS_APPEAR = "checkInstitution/appearence/";//检查机构营业执照照片目录
	//充值相关
	public static final Boolean DOC_CHARGE = true; //标识医生充值
	public static final Boolean INS_CHARGE = false;//标识机构充值
	public static final Boolean UNPAY = false;//标识未支付
	public static final Boolean HAS_PAYED = true;//标识未支付
	//订单接单状态相关
	public static final Integer ORDER_STATUS_UNTAKED = 0;//未接单
	public static final Integer ORDER_STATUS_TAKEDNOTOPER = 1;//接单未开始手术
	public static final Integer ORDER_STATUS_TAKEDINOPERATION =2;//接单已开始手术还未完成
	public static final Integer ORDER_STATUS_TAKEDANDFINISHED = 3;//接单已完成手术（仅仅是医生端点击确认完成）
	public static final Integer ORDER_STATUS_TAKEDANDASKFORHELP = 4;//接单在手术中求助
	public static final Integer ORDER_STATUS_CANCELED = 5;//取消订单
	public static final Integer ORDER_STATUS_FINISHED = 6;//彻底完成，机构也确认
	public static final Integer ORDER_STATUS_BIANDONG = 7;//变动的订单(医生已接单未开始手术，机构修改了订单)
//	public static final Integer ORDER_STATUS_TAKEDNOTOPEROverTime = 8;
	//订单发布状态相关
	public static final Integer BFFORE10MIN = 0;
	public static final Integer BETWEEN10AND20 = 1;
	public static final Integer OVER20 = 2;
	//订单管理
	public static final String ALL_ORDER = "order/index";
	public static final String OVERTIME_ORDER = "order/overTimeOrder";
	public static final String UNTAKED_ORDER = "order/unTaked";
	public static final String TAKEDANDUNOPERATED_ORDER = "order/takedAndUnoperated";
//	public static final String TAKEDANDUNOPOVERTIME_ORDER = "order/takedAndUnopOverTime";
	public static final String TAKEDANDOPERATING_ORDER = "order/takedAndOperating";
	public static final String TAKEDANDFINISHEDED_ORDER = "order/takedAndFinished";
	public static final String TAKEDANDASKFORHELPED_ORDER = "order/takedAndAskForHelp";
	public static final String FINISHED_ORDER = "order/finished";
	public static final String CANCELED_ORDER = "order/canceled";
	public static final String ONGO_ORDER = "order/onGo";//未接单未超时订单，不是publishStatus为0和1的都属于进行中的订单
	public static final String ONGOUntaked_ORDER = "order/onGoUntaked";//未接单未超时订单，不是publishStatus为0和1的都属于进行中的订单
	public static final String CHANGED_ORDER = "order/changed";
	
	
	public static final String INDEX_DETAIL = "order/indexDetail";
	public static final String unTaked_DETAIL = "order/unTakedDetail";//未结单0
	public static final String overTime_DETAIL = "order/overTimeDetail";//超时0 publish2
	public static final String takedAndU_DETAIL = "order/takedAndUDetail";//手术未开始1
//	public static final String takedAndUOverTime_DETAIL = "order/tackedAndUOverTimeDetail";//手术超时未开始8
	public static final String takedAndO_DETAIL = "order/takedAndODetail";//手术开始2
	public static final String takedAndA_DETAIL = "order/takedAndADetail";//手术求助4
	public static final String canceled_DETAIL = "order/canceledDetail";//手术取消 5
	public static final String FINISH_DETAIL = "order/finishDetail";//医生确认完成状态3
	public static final String FINISHED_DETAIL = "order/finishedDetail";//机构确认状态6
	public static final String CHANGEED_DETAIL = "order/changedDetail";//有变动订单状态7
	
	//财务管理
	public static final String FINANCE_INDEX = "finance/index";//流水页
	public static final String WITHDRAW_INDEX = "finance/withdraw";
	public static final String WITHDRAW_UNDEALED = "finance/undealedWithdraw";
	public static final String DATE_PATTERN = "yyyy-MM-dd";
	public static final Boolean ALI_PAY = false;//标识支付宝支付
	public static final Boolean WEIXIN_PAy = true;//标识微信支付
	public static final Integer INCOME = 1;//标识收入
	public static final Integer OUTCOME = -1;//标识支出
	public static final double LEAST_REMAINS = 0.0;//账户最低余额
	public static final Boolean Withdraw_Undealed = false;//管理员还未转账给提现人
	public static final Boolean DOC_WITHDRAW = false;//标识医生提现
	public static final Boolean INS_WITHDRAW = true;//标识机构提现
	//短信通知模板id
	public static final String SMS_JIEDAN = "176151";//通知新订单
	public static final String SMS_JIGOUZHUCE = "176017";//添加机构发账号密码
	public static final String SMS_INVATECODE = "206557";//添加医生发邀请码
	public static final String SMS_CHECK_JIEDAN = "191281";//获取检查机构接单的通知
	public static final String SMS_CHECK_EXAP = "191282";//获取检查机构取回样品的通知
	public static final String SMS_CHECK_OVER = "191283";//获取检查机构检验完成的通知
	public static final String SMS_CHECKINS_INVATECODE = "191200";//添加检查机构发账号密码
	public static final String SMS_BIANDONG_INFORM = "201953";
	public static final String SMS_DOC_RESET_PASSWD = "248825";
	public static final Boolean CANCEL_BY_DOC = true;//标识取消订单方为医生
	public static final Boolean CANCEL_BY_INS = false;//标识取消订单方为机构
	
	//轮播图管理
	public static final String CAROUSELS_INDEX = "carousel/index";
	public static final String CAROUSELS_MODIFY = "carousel/modify";
	//检查机构管理
	public static final String ADD_CHECKINSTITUTION = "checkInstitution/addInstitution";
	public static final String CHECK_INDEX = "checkInstitution/index";
	public static final String CHECKINSTITUTION_DETAIL = "checkInstitution/detail";
	//用户协议
	public static final String USERAGREEMENT_DETAIL = "userAgreement/detail";
	public static final String USERAGREEMENT_H5 = "userAgreement/userAgreement";//给移动端准备的用户协议页面
	public static final String ORDER_PREFIX = "yyyyMMdd";

	
	
	
	
	
}
